﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;
using System.Globalization;
using System.ComponentModel;
using EntModApp.EntServices.Presentation;

namespace EntModApp.EntServices.PresentationLogic
{
  public interface IApplicationState : INotifyPropertyChanged
  {
    IPrincipal User { get; }

    bool Login(IPrincipal user);

    void Logout();

    CultureInfo Culture { get; set; }

    DeviceSpecs CurrentDevice { get; set; }

    IDictionary<string, object> Session { get; }
  }
}
